package com.smart.home.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("家庭成员详细返回表")
public class HomeMembersVO {

    //原本用户信息
    @ApiModelProperty("全局唯一ID")
    private String uuid;

    @ApiModelProperty("状态 (0-禁用 1-启用)")
    private Byte status;

    @ApiModelProperty("用户名")
    private String username;


    //相关家庭信息
    @ApiModelProperty("成员角色：OWNER, ADMIN, MEMBER, GUEST")
    private String role;

    @ApiModelProperty("加入时间")
    private LocalDateTime joinedAt;

    @ApiModelProperty("家庭名称")
    private String name;

    @ApiModelProperty("时区")
    private String timezone;
}
